package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

@Mapper
public interface NursingPlanMapper {

    Page<NursingPlanVo> getNursingPlanPageList(NursingPlanDto nursingPlanDto);

    List<NursingPlanVo> getNursingPlanList();


    void addNursingPlan(NursingPlan nursingPlan);

    void updateNursingPlanStatusById(Long id, Integer status);

    void deleteNursingPlanById(Long id);

    NursingPlanVo getNursingPlanById(Long id);

    NursingPlan getNursingPlanByName(String planName);

    void updateNursingPlanById(NursingPlan nursingPlan);
}
